<html><head><title>NextMapElement</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">NextMapElement()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#006666"><b>NextMapElement</b></font>(Map())  </blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Moves from the current element to the next element in the specified map, or onto the first 
element if <a href="resetmap.html">ResetMap()</a> was previously called. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Map()</i></td>
<td width="90%"> 
The map to use. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns nonzero if the next element was set and zero if there is no next element. 
The value returned is a <a href="../reference/memory.html">pointer</a> to the new element data. 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#006666">NewMap</font></b> <font color="#006666">Country</font>.s()

<font color="#006666">  Country</font>("US") = "United States"
<font color="#006666">  Country</font>("FR") = "France"
<font color="#006666">  Country</font>("GE") = "Germany"

<font color="#006666">  ResetMap</font>(<font color="#006666">Country</font>())
  <b><font color="#006666">While</font></b> <font color="#006666">NextMapElement</font>(<font color="#006666">Country</font>())
    <b><font color="#006666">Debug</font></b> <font color="#006666">Country</font>()
  <b><font color="#006666">Wend</font></b>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="resetmap.html">ResetMap()</a>, <a href="mapkey.html">MapKey()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=mapsize.html>MapSize()</a> - <a href=index.html>Map Index</a> - <a href=popmapposition.html>PopMapPosition()</a> ->

</body></html>